const express = require('express')
const MangerUpdateRouter = express.Router()
const expressJoi = require('@escook/express-joi')
const manager_update_schema = require('../schema/schema')
    // 导入manager
const MangerUpdateHandle = require('../router_handler/manager')

// MangerCreateRouter.post('/users', MangerCreateHandle.Create)
MangerUpdateRouter.put('/users/:id', expressJoi(manager_update_schema.manager_update_schema), MangerUpdateHandle.Update)

module.exports = MangerUpdateRouter